package com.thinkingstar.iads.cs.sys.controller;

import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.lang.util.NutMap;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.By;
import org.nutz.mvc.annotation.Filters;
import org.nutz.mvc.annotation.Ok;
import org.nutz.mvc.annotation.Param;

import com.thinkingstar.iads.common.filter.GlobalsFilter;
import com.thinkingstar.iads.common.filter.UserLoginFilter;

import javax.servlet.http.HttpServletRequest;

/**
 * 项目中心管理相关
 * @author Administrator
 *
 */
@IocBean
@At("/projectCenter")
@Filters({@By(type = GlobalsFilter.class), @By(type = UserLoginFilter.class)})
public class ProjectCenterModule {
	
	private static final String DcCenterPath = "beetl:/projectRoot/pcCenter/";
	
	/**
	 * 项目列表页维护
	 * @return
	 */
    @At("/projects")
    @Ok(DcCenterPath+"project/projects.html")
	public void projectDesignPhaseIndex(HttpServletRequest req){
    	req.setAttribute("t_name","pc_project_info");
	}

}
